Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint generated launch files #181

Merged
merged 1 commit into from
Oct 6, 2017
Merged

Conversation

dirk-thomas
Copy link
Member

Follow up of #157 (comment)

This patch shows how to lint generated files. It does so only for the composition package. Other packages should probably use something similar.

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label Oct 4, 2017
@dirk-thomas dirk-thomas self-assigned this Oct 4, 2017
@@ -190,6 +194,13 @@ if(BUILD_TESTING)
endif()

call_for_each_rmw_implementation(tests)

find_package(ament_cmake_flake8 REQUIRED)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this necessary ? this package already find_package the ament_lint_auto dependencies.
If we want the ability to make some of them REQUIRED we could implement something similar to ament/ament_cmake#93 in ament_lint_auto and just pass ament_cmake_flake8 as a required dependency

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am just applying "find what you need". Since the code is using a CMake function of that package it is finding it explicitly.

@dirk-thomas
Copy link
Member Author

Waiting for review.

@dirk-thomas dirk-thomas merged commit 082f5b3 into master Oct 6, 2017
@dirk-thomas dirk-thomas deleted the lint_generated_launch_files branch October 6, 2017 16:31
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Oct 6, 2017
mikaelarguedas referenced this pull request in ament/ament_lint Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants